package com.wechart.service.user.impl;


import com.wechart.service.user.ResourceService;
import org.springframework.stereotype.Service;

/**
 * Created by silenceholic on 2017/4/17.
 */
@Service(value = "ResourceService")
public class ResourceServiceImpl implements ResourceService {

//    @Autowired
//    ResourceMapper resourceMapper;
//
//    public List<Resource> getAllResource(){
//
//        ResourceCriteria criteria = new ResourceCriteria();
//
//        criteria.createCriteria().getAllCriteria();
//
//        return resourceMapper.selectByExample(criteria);
//    }
//
//    public String getPermissionById(int id){
//
//        return resourceMapper.selectByPrimaryKey(id).getPermission();
//    }
//
//    public String getMenuById(int id){
//
//        return resourceMapper.selectByPrimaryKey(id).getMenu_code();
//    }
}
